import Vue from 'vue'
import Router from 'vue-router'
import register from '@/components/register'
import login from '@/components/login'
import goodsList from '@/components/goodsList'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'register',
      component: register
    },
    {
    	path: '/login',
      name: 'login',
      component: login
    },
    {
    	path: '/goodsList',
      name: 'goodsList',
      component: goodsList
    }
  ]
})
